<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>随机点名程序-静水流深</title>
<script>
    let students = [
        "少年志队",
        "打不死六人组",
        "老实人",
        "强盛集团",
        "静水流深",
        "志权",
        "六福吃鸡队",
        "大佬",
        "传奇",
        "你说我对不队",
        "奶龙大帝"
    ];
    function rollCall() {
        let selectedStudent = students[Math.floor(Math.random() * students.length)];

        document.getElementById('selectedStudent').textContent = selectedStudent;
    }
</script>
</head>
<body>
    <h1>随机点名程序-静水流深</h1>
    <button onclick="rollCall()">点名</button>
    <p>被点名的学生是：<span id="selectedStudent"></span></p >
</body>
</html>
